Cocktail Help Reference
Take Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > IFetchOptions<T> Interface : Take Method



count
The number of elements to return.

Glossary Item Box

Returns a specified number of contiguous elements from the start of a sequence.

Syntax

Visual Basic (Declaration) 
Function Take( _
   ByVal count As Integer _
) As IFetchOptions(Of T)
Visual Basic (Usage)Copy Code
Dim instance As IFetchOptions(Of T)
Dim count As Integer
Dim value As IFetchOptions(Of T)
 
value = instance.Take(count)
C# 
IFetchOptions<T> Take( 
   int count
)
C++/CLI 
IFetchOptions<T^>^ Take( 
   int count
) 

Parameters

count
The number of elements to return.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.